"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const mysql = require("mysql"); //引入mysql操作的库
function getsqlline() {
    return mysql.createConnection({
        host: "localhost",
        user: "root",
        password: "root",
        database: "blog_data",
    }); //createConnection()会返回一个数据库链接对象，数据连接对象可以执行mysql语句
    // connection.connect(); //创建数据库链接
}
exports.default = getsqlline;
// export default
